#if !defined(AFX_DATAMODE_H__CF70482A_107C_485B_AA7C_10C608A08260__INCLUDED_)
#define AFX_DATAMODE_H__CF70482A_107C_485B_AA7C_10C608A08260__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DataMode.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDataMode form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include ".\Util\MinButton.h"
#include ".\Util\MinLabel.h"
#include ".\Util\SxGroupBox.h"

class ITrsUnloaderLifter;
class IAutoManager;

class CDSTapeMountDoc;

class CDataMode : public CFormView
{
protected:
	DECLARE_DYNCREATE(CDataMode)
// Form Data
public:
	//{{AFX_DATA(CDataMode)
	enum { IDD = IDD_DATAMODE_FORM };
	CMinButton	m_bLogList;
	CMinButton	m_bProductReset;
	CMinButton	m_bVacDelay;
	CMinButton	m_bUVLightData;
	CMinButton	m_bSystemData;
	CMinButton	m_bSettingMode;
	CMinButton	m_bRunVelocity;
	CMinButton	m_bRunAccelater;
	CMinButton	m_bMotorDelay;
	CMinButton	m_bModelData;
	CMinButton	m_bManualMode;
	CMinButton	m_bMainMode;
	CMinButton	m_bJogPitchFine;
	CMinButton	m_bJogPitch;
	CMinButton	m_bHomeVelocity2;
	CMinButton	m_bHomeVelocity1;
	CMinButton	m_bHomeOffset;
	CMinButton	m_bHomeAccelater;
	CMinButton	m_bErrorList;
	CMinButton	m_bDataMode;
	CMinButton	m_bCylDelay;
	CMinButton	m_bCWSWLimit;
	CMinButton	m_bCCWSWLimit;
	CMinButton  m_bAlignlogList;
	//}}AFX_DATA

// Attributes
public:
	CDataMode();           // protected constructor used by dynamic creation
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDataMode)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CDataMode();

	
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
protected:
	CDSTapeMountDoc* m_pDoc;
	void ButtonInitial();
	IAutoManager* m_lnkAutoManager;
	ITrsUnloaderLifter* m_lnkTrsUnloaderLifter;

protected:
	// Generated message map functions
	//{{AFX_MSG(CDataMode)
	afx_msg void OnMainmode();
	afx_msg void OnDatamode();
	afx_msg void OnManualmode();
	afx_msg void OnSettingmode();
	afx_msg void OnPaint();
	afx_msg void OnSystemData();
	afx_msg void OnMotorDelay();
	afx_msg void OnCylDelay();
	afx_msg void OnCwSwLimit();
	afx_msg void OnCcwSwLimit();
	afx_msg void OnRunVelocity();
	afx_msg void OnRunAccelater();
	afx_msg void OnJogpitchFine();
	afx_msg void OnJogpitch();
	afx_msg void OnHomeVelocity1();
	afx_msg void OnHomeVelocity2();
	afx_msg void OnHomeAccelater();
	afx_msg void OnHomeOffset();
	afx_msg void OnErrorList();
	afx_msg void OnModelData();
	afx_msg void OnVacDelay();
	afx_msg void OnProductReset();
	afx_msg void OnLogList();
	afx_msg void OnAlignLogList();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DATAMODE_H__CF70482A_107C_485B_AA7C_10C608A08260__INCLUDED_)
